This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: MIME field contents removed when converted to CD
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.2
Reproducible: Always
We have VB code in Outlook trying to add the contents of an email from MS Outlook into an existing Notes document. The Notes doc has a rich text item named "Body", which is in standard Notes rich text format (CD). The code below grabs the html from the Outlook email and creates a new Body field in a temporary Notes doc.
It doesn't make a difference whether I have True or False for the session.ConvertMime, it never converts it. At this point I can save the temporary doc and the contents display as expected but the field is MIME and we want to append it to the end of an existing Notes doc which has a body field of rich text. If I attempt to convert it by appending text and saving, it just creates an empty Body field that is now of type 'rich text' with a space as the only contents.
The other attempt to convert the MIME to rich text was to copy all items from this temp doc to another temp doc. But that didn't help either. I end up with an empty rich text item named Body. All that html MIME content just disappears.
This smae code works correctly on PCs with Notes 6.5 client, but won't for 8.5.2.
Is there a known work around?
Feedback number WEBB8UHC2T created by ~Tony Minvelutexoni on 05/21/2012
Status: Closed
Comments: The answer turned out to be an extra quote that was getting added in the html from Outlook. This made the html invalid.